//
//  PositionRightButton.h
//  PeaPodAgent
//
//  Created by MasterLing on 2017/11/11.
//  Copyright © 2017年 MasterLing. All rights reserved.
//

#import <UIKit/UIKit.h>


typedef NS_ENUM(NSInteger, KKPositionedButtonType) {
    KKPositionedButtonTypeTitleRight,
    KKPositionedButtonTypeTitleLeft,
    KKPositionedButtonTypeTitleTop,
    KKPositionedButtonTypeTitleBottom,
    KKPositionedButtonTypeCenter,
};


@interface PositionRightButton : UIButton

///titleLabel和imageView摆放位置
@property (nonatomic, assign) KKPositionedButtonType buttonPositioned;

///titleLabel和imageView的间距
@property (nonatomic, assign) CGFloat imageTitleSpacing;

@end
